package com.ayoka.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by jinchunping on 2018/5/8.
 */

public class CourseBean implements Serializable {
    public long ID;
    public long PackageID;
    public String Title;
    public String SubTitle;
    public String Descp;
    public String ImgUrl;
    public String VideoUrl;
    public int OrderNum;
    public int CourseCompletedStatus; //课程完成状态	-1未开始  0进行中	1课程已完成但作业尚未完成  2已完成
    public int ParticipationTimes;
    public int IsAvailabe; //是否可听课状态（已用券购买或已成为会员时为1，否则为0
    public int IsFavorited; //是否已收藏

    public List<InteractiveQuestionBean> InteractiveQuestions;
    public List<CourseAssignmentBean> Assignments;

    public static class InteractiveQuestionBean implements Serializable {

        public long ID;
        public long CourseID;
        public long OnShowSecond;
        public long OnHideSecond;
        public boolean isShowing;
        public List<OptionBean> Options;
        public String Question;
    }

    public static class OptionBean implements Serializable {
        public int Index;
        public String Option;

        public boolean isSelected;
    }

}
